package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.EnvironmentalArticles;

/**
 * articlesMapper接口
 * 
 * @author zrj
 * @date 2025-07-11
 */
public interface EnvironmentalArticlesMapper 
{
    /**
     * 查询articles
     * 
     * @param articleId articles主键
     * @return articles
     */
    public EnvironmentalArticles selectEnvironmentalArticlesByArticleId(Long articleId);

    /**
     * 查询articles列表
     * 
     * @param environmentalArticles articles
     * @return articles集合
     */
    public List<EnvironmentalArticles> selectEnvironmentalArticlesList(EnvironmentalArticles environmentalArticles);

    /**
     * 新增articles
     * 
     * @param environmentalArticles articles
     * @return 结果
     */
    public int insertEnvironmentalArticles(EnvironmentalArticles environmentalArticles);

    /**
     * 修改articles
     * 
     * @param environmentalArticles articles
     * @return 结果
     */
    public int updateEnvironmentalArticles(EnvironmentalArticles environmentalArticles);

    /**
     * 删除articles
     * 
     * @param articleId articles主键
     * @return 结果
     */
    public int deleteEnvironmentalArticlesByArticleId(Long articleId);

    /**
     * 批量删除articles
     * 
     * @param articleIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEnvironmentalArticlesByArticleIds(Long[] articleIds);
}
